import { ObjCreate } from "../../common/ObjCreate";
import { CareerCheckBox } from "./CareerCheckBox";
//class CareerCheckBoxItem
    
    export  class CareerCheckBoxItem /* flash.display.Sprite */
    {
        constructor()
        {
            
            this.initUI();
            buttonMode = true;
            return;
        }

        /* internal  */initUI(): void
        {
            this._fontTxt = ObjCreate.createTextField("", 0, 0, 120, 20, this);
            this._checkBox = new CareerCheckBox();
            this._checkBox.x = 70;
            this._checkBox.y = -4;
            addChild(this._checkBox);
            return;
        }

        public updateData(arg1: string, arg2: string, arg3: string=null): void
        {
            this._fontTxt.htmlText = "<u><a href=\'event: 0\'>" + arg1 + "</a></u>";
            this._checkBox.updateFrontSkin(arg2, arg3);
            return;
        }

        /* internal */ /* var */_fontTxt: Object /* flash.text.TextField */;

        /* internal */ /* var */_checkBox: CareerCheckBox;
    }
